package cn.iocoder.yudao.module.system.controller.admin.menuweixin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 微信菜单新增/修改 Request VO")
@Data
public class MenuWeixinSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14971")
    private Long id;

    @Schema(description = "父菜单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12437")
    @NotNull(message = "父菜单ID不能为空")
    private Long parentId;

    @Schema(description = "微信菜单按钮", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "微信菜单按钮不能为空")
    private String menuName;

    @Schema(description = "权限", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "权限不能为空")
    private String permission;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "类型不能为空")
    private String menuType;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @Schema(description = "启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "启用不能为空")
    private Boolean status;

}